package test.serverframe.armc.server.manager.service.impl;

import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import test.serverframe.armc.server.manager.dao.mapper.LinkInterfaceMapper;
import test.serverframe.armc.server.manager.domain.BindParamToInterface;
import test.serverframe.armc.server.manager.domain.LinkInterface;
import test.serverframe.armc.server.manager.service.LinkInterfaceService;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

@Service
public class LinkInterfaceServiceImpl implements LinkInterfaceService {
    @Autowired
    private LinkInterfaceMapper linkInterfaceMapper;
    @Override
    public int insert(LinkInterface record) {
        return 0;
    }

    @Override
    public int insertSelective(LinkInterface record) {
        return 0;
    }

    @Override
    public LinkInterface selectByPrimaryKey(String id) {
        return linkInterfaceMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(LinkInterface record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(LinkInterface record) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(String id) {
        return 0;
    }

    @Override
    public PageInfo<LinkInterface> pageFind(int pageNum, int pageSize, Object parameter) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
        return null;
    }

	@Override
	public List<BindParamToInterface> selectInterfaceByTaskId(String taskId) {
		return linkInterfaceMapper.selectInterfaceByTaskId(taskId);
	}

	@Override
	public List<BindParamToInterface> selectInterfaceByNodeId(String NodeId) {
		return linkInterfaceMapper.selectInterfaceByNodeId(NodeId);
	}
}
